<template>
  <view class="nav-bar" :style="{ backgroundColor:props.bgColor}"></view>
</template>
<script setup>
  const props = defineProps({
    bgColor: {
      type: String,
      default: '#FFF'
    }
  })

</script>

<style lang="scss" scoped>
  .nav-bar{
    width: 100%;
    height: var(--status-bar-height);
  }
</style>
